Skip to content

chore(dependabot): group security & supply chain attack hardening#2850

Open
CorieW wants to merge 4 commits into
nextfrom
@invertase/condense-security-updates
Open

chore(dependabot): group security & supply chain attack hardening#2850
CorieW wants to merge 4 commits into
nextfrom
@invertase/condense-security-updates

Conversation

@CorieW
Copy link
Copy Markdown
Member

@CorieW CorieW commented May 18, 2026

This pull request updates the .github/dependabot.yml configuration to improve how dependency updates are grouped, labeled, and managed. The changes refine update grouping for both regular and security updates, add commit message customization, and clarify ignored update types.

Dependabot configuration improvements:

  • Split dependency update groups into version-minor-and-patch-by-dependency for regular updates and security-minor-and-patch for security updates, with more precise control over which update types are included in each group.
  • cooldown helps avoid vulnerable package releases, as seen recently with the Mini Shai-Hulud worm stuff. These types of releases are often detected very early, so this property should massively aid in avoiding this problem.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Dependabot configuration to introduce specific grouping rules for version and security updates. The reviewer provided feedback regarding the naming of these new groups, noting that 'version-minor-and-patch-by-dependency' is misleading since it groups all dependencies together, and 'security-minor-and-patch' is inconsistent because it includes major updates.

Comment thread .github/dependabot.yml Outdated
Comment thread .github/dependabot.yml Outdated
Copy link
Copy Markdown
Contributor

@cabljac cabljac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mikehardy
Copy link
Copy Markdown

An easy supply chain attack hardening win for npm ecosystem is to enable dependabot "cooldown" parameters in concert with package manager config change to disallow packages younger than X days (eg 3)

@cabljac
Copy link
Copy Markdown
Contributor

cabljac commented May 18, 2026

An easy supply chain attack hardening win for npm ecosystem is to enable dependabot "cooldown" parameters in concert with package manager config change to disallow packages younger than X days (eg 3)

ooh good point

https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#cooldown-

@CorieW CorieW changed the title chore(dependabot): group security chore(dependabot): group security & supply chain attack hardening May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants